-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix go mTOn filter bug #3144
fix go mTOn filter bug #3144
Conversation
36aab70
to
b8eea5f
Compare
const auto& projectInput = | ||
(joinInput || joinDst) ? loopBody->outputVar() : sampleLimit->outputVar(); | ||
(loopBody != getDst) ? loopBody->outputVar() : sampleLimit->outputVar(); | ||
loopBody = Project::make(qctx, loopBody, goCtx_->yieldExpr); | ||
loopBody->setInputVar(projectInput); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not delete these codes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
execution flow and data flow are sometimes inconsistent, so explicit input is required
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think there is redundant code logic and the Project
node has nothing to do with getDst
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
loopbody may be getDst or filter, but the input of project can only be sample or filter, This is why you need to specify the project's input
Codecov Report
@@ Coverage Diff @@
## master #3144 +/- ##
==========================================
+ Coverage 84.98% 85.01% +0.03%
==========================================
Files 1289 1289
Lines 117763 117759 -4
==========================================
+ Hits 100076 100116 +40
+ Misses 17687 17643 -44
Continue to review full report at Codecov.
|
ffe5626
to
8597495
Compare
* fix go mTOn filter bug * add test case
* Fixed an issue where the server still started with a wrong ip/host (#3057) * Fix wrong local ip. * Address comment. * Fix alter drop (#3036) * disable modify same col * add test case * refactor ddl * fix pytest error * address comment Co-authored-by: Yee <[email protected]> * fix fetch vertex properties(vertex) bug (#3120) * fix fetch vertex properties(vertex) bug * address comment Co-authored-by: Yee <[email protected]> * fix go yield bug (#3128) * fix go yield bug * add test case * Remove unnecessary check (#3112) Co-authored-by: cpw <[email protected]> Co-authored-by: Yee <[email protected]> * fix go mTOn filter bug (#3144) * fix go mTOn filter bug * add test case * Geo spatial: 3. geography schema, data, index and optimization (#3043) * Geo spatial: 3. geography data and index Co-authored-by: cpw <[email protected]> Co-authored-by: jimingquan <[email protected]> Co-authored-by: Yee <[email protected]> Co-authored-by: Yichen Wang <[email protected]> Co-authored-by: jie.wang <[email protected]>
close #3090